{include file="public/header" /}
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>订单详情</h5>
                </div>
                <div class="ibox-content layui-form">
                    <div class="layui-row layui-col-space10 layui-form-item ">

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">订单类型：</label>
                            <div class="layui-input-block">
                                {if($order.order_type == 1)}
                                <input type="text" class="layui-input" value="正常商品订单" disabled>
                                {/if}
                                {if($order.order_type == 2)}
                                <input type="text" class="layui-input" value="拍卖商品订单" disabled>
                                {/if}
                                {if($order.order_type == 3)}
                                <input type="text" class="layui-input" value="秒杀商品订单" disabled>
                                {/if}
                                {if($order.order_type == 4)}
                                <input type="text" class="layui-input" value="约稿订单" disabled>
                                {/if}
                                {if($order.order_type == 5)}
                                <input type="text" class="layui-input" value="拍卖押金订单" disabled>
                                {/if}
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">订单编号：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$order.order_number}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">订单状态：</label>
                            <div class="layui-input-block">
                                {if($order.order_status == 1)}
                                <input type="text" class="layui-input" value="待付款" disabled>
                                {/if}
                                {if($order.order_status == 2)}
                                <input type="text" class="layui-input" value="待发货" disabled>
                                {/if}
                                {if($order.order_status == 3)}
                                <input type="text" class="layui-input" value="待收货" disabled>
                                {/if}
                                {if($order.order_status == 4)}
                                <input type="text" class="layui-input" value="已收货待评价" disabled>
                                {/if}
                                {if($order.order_status == 5)}
                                <input type="text" class="layui-input" value="已评价" disabled>
                                {/if}
                                {if($order.order_status == 6)}
                                <input type="text" class="layui-input" value="已退款" disabled>
                                {/if}
                                {if($order.order_status == 7)}
                                <input type="text" class="layui-input" value="拒绝退款" disabled>
                                {/if}
                                {if($order.order_status == 8)}
                                <input type="text" class="layui-input" value="已关闭" disabled>
                                {/if}
                                {if($order.order_status == 9)}
                                <input type="text" class="layui-input" value="已评价" disabled>
                                {/if}
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">完成状态：</label>
                            <div class="layui-input-block">
                                {if($order.order_aftersale_status == 1)}
                                <input type="text" class="layui-input" value="未完成" disabled>
                                {/if}
                                {if($order.order_aftersale_status == 2)}
                                <input type="text" class="layui-input" value="已完成" disabled>
                                {/if}
                            </div>
                        </div>

                        {if $order.order_type != 4}
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">商品名称：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$order.goods_name}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">商品图片：</label>
                            <div class="layui-input-block">
                                <img src="{$order.goods_thumb}" class="img-circle" style="height:100px">
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">商品类目：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$order.gt_name}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">规格：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$order.spec_name}--{$order.spec_can}" disabled>
                            </div>
                        </div>
                        {else /}
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">约稿标题：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$order.yue_title}" disabled>
                            </div>
                        </div>
                        {/if}

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">订单金额：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$order.order_goods_price}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">实付金额：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$order.order_pay_price}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">订单数量：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$order.order_num}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">卖家ID：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$order.order_sail_user_id}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">卖家昵称：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$order.sail_username}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">卖家手机：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$order.sail_userphone}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">买家ID：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$order.order_buy_user_id}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">买家昵称：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$order.buy_username}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">买家手机：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$order.buy_userphone}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">下单时间：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$order.order_create_time}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <div class="layui-input-block">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{include file="public/footer" /}
</body>
</html>
